1 00:00:00,000 --> 00:00:04,790 2 00:00:04,790 --> 00:00:06,090 PROFESSOR: Welcome to this session 3 00:00:06,090 --> 00:00:08,029 on separable equations. 4 00:00:08,029 --> 00:00:11,130 So in this problem, you're asked in the first question to 5 00:00:11,130 --> 00:00:16,390 solve the initial value problem, dydx equals y squared 6 00:00:16,390 --> 00:00:19,120 with the initial condition y of zero equals 1. 7 00:00:19,120 --> 00:00:21,220 In the second part of the problem, you're asked to find 8 00:00:21,220 --> 00:00:24,620 the general solution where no initial condition is imposed. 9 00:00:24,620 --> 00:00:27,420 So here you need to remember your method of separation of 10 00:00:27,420 --> 00:00:29,980 variables to tackle the first question. 11 00:00:29,980 --> 00:00:33,730 And then in the second part of the problem, remember all the 12 00:00:33,730 --> 00:00:35,960 types of solutions and conditions that you applied 13 00:00:35,960 --> 00:00:40,230 the first part to recover the lost solutions. 14 00:00:40,230 --> 00:00:43,070 So why don't you take a minute, pause the video, work 15 00:00:43,070 --> 00:00:44,570 through questions a and b. 16 00:00:44,570 --> 00:00:46,990 And then we'll continue together when I come back. 17 00:00:46,990 --> 00:00:59,200 18 00:00:59,200 --> 00:01:00,470 Welcome back. 19 00:01:00,470 --> 00:01:05,450 So in the first part of the problem, we'll be solving the 20 00:01:05,450 --> 00:01:07,350 equation dydx equals y squared. 21 00:01:07,350 --> 00:01:11,040 So here the method of separation of variables tells 22 00:01:11,040 --> 00:01:13,870 us that we should regroup the variables of the same kind, so 23 00:01:13,870 --> 00:01:18,740 all the y variables on one side and dx variable on the 24 00:01:18,740 --> 00:01:20,940 other side of the equation and then 25 00:01:20,940 --> 00:01:22,500 integrate from this point. 26 00:01:22,500 --> 00:01:27,890 So here for this step, notice that I divided by y squared, 27 00:01:27,890 --> 00:01:30,640 which means that we need to impose the condition y naught 28 00:01:30,640 --> 00:01:32,080 equal to zero from now on. 29 00:01:32,080 --> 00:01:35,680 30 00:01:35,680 --> 00:01:41,600 So from this step, we just use indefinite integrals to 31 00:01:41,600 --> 00:01:44,030 integrate both sides of the equation. 32 00:01:44,030 --> 00:01:48,310 So the left-hand side is the integral dy over y squared. 33 00:01:48,310 --> 00:01:53,380 So integral of this gives us minus 1 over y. 34 00:01:53,380 --> 00:01:57,820 And the right hand side, integral dx, is just x. 35 00:01:57,820 --> 00:02:00,870 Both sides would give us constant of integrations, but 36 00:02:00,870 --> 00:02:03,370 we only need one because this is a first-order 37 00:02:03,370 --> 00:02:04,640 differential equation. 38 00:02:04,640 --> 00:02:06,940 And so we group them together on the right-hand side with 39 00:02:06,940 --> 00:02:08,190 constant c. 40 00:02:08,190 --> 00:02:18,850 41 00:02:18,850 --> 00:02:21,980 So from this point, given that we're interested in variable 42 00:02:21,980 --> 00:02:25,045 y, we need just to invert the expression. 43 00:02:25,045 --> 00:02:28,230 44 00:02:28,230 --> 00:02:32,280 And that gives us partial answer, which is y of x equals 45 00:02:32,280 --> 00:02:34,190 minus 1 over x plus c. 46 00:02:34,190 --> 00:02:37,110 So now we need to use our initial condition, y of zero 47 00:02:37,110 --> 00:02:40,010 equals to 1 to determine the value of c for this particular 48 00:02:40,010 --> 00:02:41,260 initial value problem. 49 00:02:41,260 --> 00:02:49,400 50 00:02:49,400 --> 00:02:55,700 So our initial condition was y of zero equals 1. 51 00:02:55,700 --> 00:02:58,540 So if we substitute this in the expression that we just 52 00:02:58,540 --> 00:03:08,610 obtained, we just have zero plus c, which then only gives 53 00:03:08,610 --> 00:03:11,480 us c equal to 1. 54 00:03:11,480 --> 00:03:14,020 So we end up with the value for our constant of 55 00:03:14,020 --> 00:03:16,570 integration, c equals minus 1. 56 00:03:16,570 --> 00:03:20,010 57 00:03:20,010 --> 00:03:29,090 And so the solution to this problem is y of x equals 1 58 00:03:29,090 --> 00:03:31,290 over 1 minus x. 59 00:03:31,290 --> 00:03:33,830 So if you examine this expression, you see right away 60 00:03:33,830 --> 00:03:37,170 that we have a problem for x equals 1 because at x equals 61 00:03:37,170 --> 00:03:40,440 1, we have 1/0 which means that, then, the solution blows 62 00:03:40,440 --> 00:03:43,210 up and we have a vertical asymptote. 63 00:03:43,210 --> 00:03:45,775 So let me draw this here. 64 00:03:45,775 --> 00:03:52,580 65 00:03:52,580 --> 00:04:01,150 So we're going to have an asymptote at x equals 1 and a 66 00:04:01,150 --> 00:04:08,120 solution that passes through our initial condition, y 67 00:04:08,120 --> 00:04:13,670 equals 1, going to infinity when approaching x equals 1. 68 00:04:13,670 --> 00:04:18,550 But then on the right side of the value x equals 1, we have 69 00:04:18,550 --> 00:04:22,029 another part of the solution that goes to zero 70 00:04:22,029 --> 00:04:23,610 as x goes to infinity. 71 00:04:23,610 --> 00:04:27,300 And that diverges to minus infinity when x approaches 1. 72 00:04:27,300 --> 00:04:30,780 So by convention, the solutions of differential 73 00:04:30,780 --> 00:04:33,150 equations are defined on one single interval. 74 00:04:33,150 --> 00:04:40,540 So we need here to realize that the solution we had is 75 00:04:40,540 --> 00:04:43,380 basically two parts, the parts on the left of the asymptote 76 00:04:43,380 --> 00:04:45,350 and the part on the right of the asymptote. 77 00:04:45,350 --> 00:05:01,910 78 00:05:01,910 --> 00:05:05,050 So the solution to our initial value problems needs to be the 79 00:05:05,050 --> 00:05:08,110 solution that passes through the imposed initial condition, 80 00:05:08,110 --> 00:05:10,270 which was y of zero equals to 1. 81 00:05:10,270 --> 00:05:12,615 So it needs to be this solution. 82 00:05:12,615 --> 00:05:17,270 83 00:05:17,270 --> 00:05:23,260 So now, if we move on to the solution of the second part of 84 00:05:23,260 --> 00:05:26,770 the problem b, we were asked to find the general solution 85 00:05:26,770 --> 00:05:29,750 of the problem, which means that we need to account now 86 00:05:29,750 --> 00:05:31,540 for all the solutions, regardless of 87 00:05:31,540 --> 00:05:32,910 their initial condition. 88 00:05:32,910 --> 00:05:36,890 So we already answered this partially during the solution 89 00:05:36,890 --> 00:05:41,730 of part a where we solved using indefinite integrals and 90 00:05:41,730 --> 00:05:48,290 arrived to the solution minus 1 over x plus c, where here we 91 00:05:48,290 --> 00:05:50,120 had, basically, an undetermined constant of 92 00:05:50,120 --> 00:05:51,420 integration. 93 00:05:51,420 --> 00:05:54,010 So this is one general solution. 94 00:05:54,010 --> 00:05:57,350 But remember that we need to give all the 95 00:05:57,350 --> 00:05:58,790 solutions of the problem. 96 00:05:58,790 --> 00:06:01,600 So when we arrived at the solution, we excluded the 97 00:06:01,600 --> 00:06:06,100 solution y equals zero, which was basically a lost solution 98 00:06:06,100 --> 00:06:10,870 because we had to impose the condition y not equal to zero. 99 00:06:10,870 --> 00:06:16,660 So we need when we give the general solution to this 100 00:06:16,660 --> 00:06:20,010 differential equation to recover the lost solution. 101 00:06:20,010 --> 00:06:23,910 And then we basically have one kind of solution, minus 1 over 102 00:06:23,910 --> 00:06:27,280 x plus c, that excludes y equal to zero and another kind 103 00:06:27,280 --> 00:06:30,760 of solution that is simply the zero solution. 104 00:06:30,760 --> 00:06:34,110 So to summarize, the important points of this problem is to 105 00:06:34,110 --> 00:06:36,800 remember the separation of variables and how to use it 106 00:06:36,800 --> 00:06:41,980 and the fact that using it imposes conditions that 107 00:06:41,980 --> 00:06:45,270 require us to recover lost solutions at the end of the 108 00:06:45,270 --> 00:06:48,210 problem if we're asked to give general solution. 109 00:06:48,210 --> 00:06:52,000 Another point to remember is that even a simple ODE can 110 00:06:52,000 --> 00:06:55,120 lead to relatively complex behavior which drives the 111 00:06:55,120 --> 00:06:57,505 presence of this vertical asymptote that you need to 112 00:06:57,505 --> 00:07:01,380 then know how to deal with and determine which part of the 113 00:07:01,380 --> 00:07:04,150 solutions that you've obtained is the real solution to the 114 00:07:04,150 --> 00:07:06,610 initial value problem that you're given. 115 00:07:06,610 --> 00:07:14,060 So I hope that you are OK with this problem and you will use 116 00:07:14,060 --> 00:07:16,950 these approaches many times for the rest of the course. 117 00:07:16,950 --> 00:07:18,250